package cn.mxh.pethspt.entity;

import java.time.LocalDateTime;

public class Ding {
    /*交易订单号*/
    private Integer dingId;
    /*就诊id*/
    private Integer jId;
    /*套餐id*/
    private Integer coId;
    /*套餐价格*/
    private Double coPrice;
    /*药品id*/
    private Integer mId;
    /*药品数量*/
    private Integer mCount;
    /*药品价格*/
    private Double mPrice;
    /*手术id*/
    private Integer sId;
    /*手术价格*/
    private Double sPrice;
    /*医美id*/
    private Integer bId;
    /*医美价格*/
    private Double bPrice;
    /*主人id*/
    private Integer uId;
    /*订单详情*/
    private String message;
    /*订单时间*/
    private LocalDateTime dingTime;
    /*金额*/
    private Double dingSum;
    /*订单总表号*/
    private Integer totalId;

    public Ding(){

    }

    public Ding(Integer dingId, Integer jId, Integer coId, Double coPrice, Integer mId, Integer mCount, Double mPrice, Integer sId, Double sPrice, Integer bId, Double bPrice, Integer uId, String message, LocalDateTime dingTime, Double dingSum, Integer totalId) {
        this.dingId = dingId;
        this.jId = jId;
        this.coId = coId;
        this.coPrice = coPrice;
        this.mId = mId;
        this.mCount = mCount;
        this.mPrice = mPrice;
        this.sId = sId;
        this.sPrice = sPrice;
        this.bId = bId;
        this.bPrice = bPrice;
        this.uId = uId;
        this.message = message;
        this.dingTime = dingTime;
        this.dingSum = dingSum;
        this.totalId = totalId;
    }

    public Integer getDingId() {
        return dingId;
    }

    public void setDingId(Integer dingId) {
        this.dingId = dingId;
    }

    public Integer getjId() {
        return jId;
    }

    public void setjId(Integer jId) {
        this.jId = jId;
    }

    public Integer getCoId() {
        return coId;
    }

    public void setCoId(Integer coId) {
        this.coId = coId;
    }

    public Double getCoPrice() {
        return coPrice;
    }

    public void setCoPrice(Double coPrice) {
        this.coPrice = coPrice;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public Integer getmCount() {
        return mCount;
    }

    public void setmCount(Integer mCount) {
        this.mCount = mCount;
    }

    public Double getmPrice() {
        return mPrice;
    }

    public void setmPrice(Double mPrice) {
        this.mPrice = mPrice;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Double getsPrice() {
        return sPrice;
    }

    public void setsPrice(Double sPrice) {
        this.sPrice = sPrice;
    }

    public Integer getbId() {
        return bId;
    }

    public void setbId(Integer bId) {
        this.bId = bId;
    }

    public Double getbPrice() {
        return bPrice;
    }

    public void setbPrice(Double bPrice) {
        this.bPrice = bPrice;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public LocalDateTime getDingTime() {
        return dingTime;
    }

    public void setDingTime(LocalDateTime dingTime) {
        this.dingTime = dingTime;
    }

    public Double getDingSum() {
        return dingSum;
    }

    public void setDingSum(Double dingSum) {
        this.dingSum = dingSum;
    }

    public Integer getTotalId() {
        return totalId;
    }

    public void setTotalId(Integer totalId) {
        this.totalId = totalId;
    }

    @Override
    public String toString() {
        return "Ding{" +
                "dingId=" + dingId +
                ", jId=" + jId +
                ", coId=" + coId +
                ", coPrice=" + coPrice +
                ", mId=" + mId +
                ", mCount=" + mCount +
                ", mPrice=" + mPrice +
                ", sId=" + sId +
                ", sPrice=" + sPrice +
                ", bId=" + bId +
                ", bPrice=" + bPrice +
                ", uId=" + uId +
                ", message='" + message + '\'' +
                ", dingTime=" + dingTime +
                ", dingSum=" + dingSum +
                ", totalId=" + totalId +
                '}';
    }
}
